//
//  YJReportListcell.m
//  SnackCourier
//
//  Created by qianfeng01 on 15/7/18.
//  Copyright (c) 2015年 qianfeng01. All rights reserved.
//

#import "YJReportListcell.h"
#import "UIImageView+WebCache.h"
@implementation YJReportListcell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}


-(void)showDataWithModel:(YJReportListModel *)model{
    [self.img1ImageView sd_setImageWithURL:[NSURL URLWithString:model.img1]];
    self.titleLabel.text =model.title;
    self.reportComment.text =model.reportComment;
}

-(void)showDataWithmormModel:(MoreModel *)model{
    [self.img1ImageView sd_setImageWithURL:[NSURL URLWithString:model.img1]];
    self.titleLabel.text =model.title;
    self.reportComment.text =model.reportComment;
}

@end
